class CreateSentEmails < ActiveRecord::Migration
  def self.up
    create_table :sent_emails do |t|
      t.references :contact, :null => false
      t.references :newsletter, :null => false
      t.timestamp  :sent_at, :null => false
      t.string     :sent_by
      t.timestamps
    end
  end

  def self.down
    drop_table :sent_emails
  end
end
